Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Conditional Namespace / ConditionalObjects<TItem,TObject,TExecutedResult> Class / Add Method / Add(RangeReference[],TItem,Boolean) Method
An array of GrapeCity.CalcEngine.RangeReference indicates the cell ranges to apply new TItem item.
The TItem object to apply for the specified range.
if set to true, all items, which belong to the specified range, will be clear.


In This Topic
    Add(RangeReference[],TItem,Boolean) Method
    In This Topic
    Applies new TItem item for the specified cell ranges.
    Syntax
    'Declaration
     
    
    Public Overloads Function Add( _
       ByVal rangeRefs() As RangeReference, _
       ByVal item As TItem, _
       Optional ByVal replacing As Boolean _
    ) As Boolean
    'Usage
     
    
    Dim instance As ConditionalObjects(Of TItem,TObject,TExecutedResult)
    Dim rangeRefs() As RangeReference
    Dim item As TItem
    Dim replacing As Boolean
    Dim value As Boolean
     
    value = instance.Add(rangeRefs, item, replacing)

    Parameters

    rangeRefs
    An array of GrapeCity.CalcEngine.RangeReference indicates the cell ranges to apply new TItem item.
    item
    The TItem object to apply for the specified range.
    replacing
    if set to true, all items, which belong to the specified range, will be clear.

    Return Value

    true if the TItem object is applied successful, false otherwise.
    See Also